#pragma once

#include <windows.h>
#include <vgraph>
#include "../PresentationContext.h"

class DisplayPresentationContext : public PresentationContext
{
public:
	DisplayPresentationContext(IObject* target,uintptr context,const Size& size,real scale=1.0f)
		:PresentationContext(target),
		m_context(context),
		m_size(size),
		m_scale(scale)
	{}

	uintptr GetContext() const {return m_context;}
	const Size& GetSize() const {return m_size;};
	void SetSize(const Size& size) {m_size = size;}
	real GetScale() const {return m_scale;}

private:
	uintptr m_context;
	Size m_size;
	real m_scale;
};